Average sentence length |
---|
18.8075 |
sentence length | percentage |
---|---|
2 | 0.0067 |
3 | 0.3200 |
4 | 1.1267 |
5 | 2.0167 |
6 | 2.5600 |
7 | 3.0000 |
8 | 3.3200 |
9 | 3.8767 |
10 | 4.0733 |
11 | 4.1633 |
12 | 4.3667 |
13 | 4.0700 |
14 | 4.5233 |
15 | 4.4333 |
16 | 4.0967 |
17 | 4.1467 |
18 | 3.9667 |
19 | 3.7267 |
20 | 3.6000 |
21 | 3.3867 |
22 | 3.1533 |
23 | 3.0467 |
24 | 2.7133 |
25 | 2.5933 |
26 | 2.7133 |
27 | 2.2600 |
28 | 2.2333 |
29 | 2.0667 |
30 | 1.8733 |
31 | 1.8000 |
32 | 1.5900 |
33 | 1.4900 |
34 | 1.2833 |
35 | 1.2367 |
36 | 1.0133 |
37 | 0.8867 |
38 | 0.8167 |
39 | 0.6300 |
40 | 0.4467 |
41 | 0.3833 |
42 | 0.2600 |
43 | 0.2567 |
44 | 0.1667 |
45 | 0.1167 |
46 | 0.0700 |
47 | 0.0700 |
48 | 0.0367 |
49 | 0.0100 |
50 | 0.0033 |
Next we measure the length of a sentence by its number of words. Again, we are interested in average length and length distribution.
See above.
For simplicity, the number of words in a sentence is calculated as 1+(Number of blanks in the sentence).
Average length:
select avg(1+char_length(sentence)-char_length( replace(sentence," ",""))) from sentences;
Distribution:
SELECT @all:=count(*) from sentences;
select 1+char_length(sentence)-char_length( replace(sentence," ","")), 100*count(*)/@all from sentences where 50>=1+char_length(sentence)-char_length(replace(sentence," ",""))group by 1+char_length(sentence)-char_length( replace( sentence," ",""));
4.2.1 Length of sentences in characters